import request from '@/utils/request'

// 查询拆迁项目统计列表
export function listRemovalreport(query) {
  return request({
    url: '/report/removalreport/list',
    method: 'get',
    params: query
  })
}

// 查询拆迁项目统计详细
export function getRemovalreport(id) {
  return request({
    url: '/report/removalreport/' + id,
    method: 'get'
  })
}

// 新增拆迁项目统计
export function addRemovalreport(data) {
  return request({
    url: '/report/removalreport',
    method: 'post',
    data: data
  })
}

// 修改拆迁项目统计
export function updateRemovalreport(data) {
  return request({
    url: '/report/removalreport',
    method: 'put',
    data: data
  })
}

// 删除拆迁项目统计
export function delRemovalreport(id) {
  return request({
    url: '/report/removalreport/' + id,
    method: 'delete'
  })
}
